<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>探索</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }

        .clearfix::before,.clearfix::after{
            content: '';
            display: table;
            clear: both;
        }

        .box{
            width: 1000px;
            background-color: seashell;
            margin: 20px auto;
            line-height: 40px;
        }

        .box ul li{
            list-style: none;
            float: left;
            margin-right: 20px;
        }
      

        .box ul li a{
            display: block;
            text-decoration: none;
        }
    </style>
</head>
<body>
    <div class="box clearfix">
        <ul>
           <li><a href="#">北京</a></li>
           <li><a href="#">上海</a></li>
           <li><a href="#">广州</a></li>
           <li><a href="#">深圳</a></li>
           <li><a href="#">杭州</a></li>
        </ul>
    </div>
    
</body>
</html>